﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Sino.Tms.Primitives
{

    public static class FeeTypeExtensions
    {

        public static FeeSettleType IsFeeSingle(this FeeType type)
        {
            switch (type)
            {
                case FeeType.AdvancePayment:
                    break;
                case FeeType.ConsumablePrePay:
                    break;
                case FeeType.LiftingChargePrePay:
                    break;
                case FeeType.UnloadingChargePrePay:
                    break;
                case FeeType.PremiumPrePay:
                    break;
                case FeeType.DeliveryToBank:
                    break;
                case FeeType.DeilveryToCash:
                    break;
                case FeeType.ExtraCharge:
                    break;
                case FeeType.PayReceiptPrePay:
                    break;
                case FeeType.ShortBargeCost:
                    break;
                case FeeType.Other:
                    break;
                default:
                    return FeeSettleType.Bulk;
            }
            return FeeSettleType.Single;
        }

    }

}